/* 合并重复样式
.custom-tree {
    background-color: #fafafa;
    padding: 16px;
    border-radius: 4px;
}

.custom-tree .ant-tree-treenode {
    position: relative;
    padding: 4px 0;
    width: 100%;
    transition: background-color 0.2s;
}

.custom-tree .ant-tree-treenode:hover {
    background-color: #f0f0f0;
}

.custom-tree .ant-tree-treenode::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #e8e8e8;
}

.custom-tree > .ant-tree-treenode::before {
    display: none;
}

.tree-node-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 8px;
}

.node-name {
    flex: 1;
    margin-left: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    margin-left: 8px;
    color: #888;
    font-size: 0.85em;
}

.tree-node-wrapper {
    padding: 4px 0;
    cursor: pointer;
}

.custom-tree .ant-tree-node-content-wrapper {
    padding: 0 4px;
}

.directory-node {
    font-weight: 500;
}

.file-node {
    color: #666;
}

/* 容器样式 */
.file-explorer-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 路径显示区域 */
.path-display {
    margin-bottom: 16px;
}

.path-input {
    width: 100%;
}

.path-input .ant-input {
    background-color: #f5f5f5;
    cursor: default;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.breadcrumb-item {
    cursor: pointer;
    color: #1890ff;
    padding: 0 4px;
}

.breadcrumb-item:hover {
    text-decoration: underline;
}

/* 树容器样式 */
.custom-tree {
    flex: 1;
    overflow: auto;
    background-color: #fafafa;
    padding: 16px;
    border-radius: 4px;
}

/* 模态框样式 */
.file-selector-modal .ant-modal-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 60vh;
}

/* 容器样式 */
.file-explorer-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px;
}

/* 路径显示区域 */
.path-display {
    margin-bottom: 16px;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
    padding: 8px 0;
}

.path-input {
    width: 100%;
}

.path-input .ant-input {
    background-color: #f5f5f5;
    cursor: default;
}

/* 树容器样式 */
.custom-tree {
    flex: 1;
    overflow: auto;
    background-color: #fafafa;
    padding: 16px;
    border-radius: 4px;
}

/* 按钮区域 */
.ant-modal-footer {
    border-top: 1px solid #f0f0f0;
    padding: 16px;
    text-align: right;
} */